package se.rende.myrss.data;

import java.util.Date;

/**
 * An item of an RSS channel.
 * @author dag
 *
 */
public class ChannelItem {
	private long id;
	private long channelId;
	private String title;
	private String link;
	private Date date;
	private String author;
	private String description;
	
	public ChannelItem(long id, long channelId, String title, String link,
			Date date, String author, String description) {
		super();
		this.id = id;
		this.channelId = channelId;
		this.title = title;
		this.link = link;
		this.date = date;
		this.author = author;
		this.description = description;
	}
	
	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public long getChannelId() {
		return channelId;
	}

	public void setChannelId(long channelId) {
		this.channelId = channelId;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getLink() {
		return link;
	}

	public void setLink(String link) {
		this.link = link;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	
}
